package test6;


public class Main {
    public static void main(String[] args) {
        final String mainThreadName = Thread.currentThread().getName();
        Thread t1 = new Thread(()->{System.out.println(mainThreadName);
            System.out.println(Thread.currentThread().getName());
            System.out.println(Thread.class.getInterfaces());});//201621123021
                t1.start();
    }
}
